package com.yang.service.impl;

import com.yang.dao.NoteOrderDao;
import com.yang.entity.NoteOrder;
import com.yang.service.NoteOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 订单表(NoteOrder)表服务实现类
 *
 * @author yangdacheng
 * @since 2022-03-02 19:11:02
 */
@Service("noteOrderService")
public class NoteOrderServiceImpl implements NoteOrderService {
    @Resource
    private NoteOrderDao noteorderDao;

    @Override
    public Boolean insertNoteOrder(NoteOrder noteOrder) {
        return noteorderDao.insertNoteOrder(noteOrder);
    }

    @Override
    public Boolean deleteNoteOrder(String orderID) {
        return noteorderDao.deleteNoteOrder(orderID);
    }

    @Override
    public Boolean queryOrderByUserID(String uid) {
        return noteorderDao.queryOrderByUserID(uid);
    }
}